home *** CD-ROM | disk | FTP | other *** search
- set roll 45
- set thetaMax 360
- set radius 1
- set zMin -1
- set zMax 2
-
- set text(fontName) Helvetica
- set text(spacingFactor) [expr {-1./72.}]
- set text(spacing) 2
- set text(fontSize) 10
- set text(tabLength) [expr {-20 * $text(spacingFactor)}]
-
- startShape World
- startShape startShape; EveCmd {Translate [expr { 0 * $text(tabLength)}] [expr {$text(spacingFactor) * 0 * $text(spacing) * $text(fontSize)}] 0 };
- EveCmd {WW3DText $text(fontName) $text(fontSize) {startShape dynamicExample} left}
-
- startShape (Rotate); EveCmd {Translate [expr { 1 * $text(tabLength)}] [expr {$text(spacingFactor) * 1 * $text(spacing) * $text(fontSize)}] 0 };
- EveCmd {WW3DText $text(fontName) $text(fontSize) {EveCmd {Rotate $roll 1 0 0}} left}
- endShape;
-
- startShape (Disk); EveCmd {Translate [expr { 1 * $text(tabLength)}] [expr {$text(spacingFactor) * 2 * $text(spacing) * $text(fontSize)}] 0 };
- EveCmd {WW3DText $text(fontName) $text(fontSize) {Disk $zMin $radius $thetaMax} left}
- endShape;
-
- startShape (Cylinder); EveCmd {Translate [expr { 1 * $text(tabLength)}] [expr {$text(spacingFactor) * 3 * $text(spacing) * $text(fontSize)}] 0 };
- EveCmd {WW3DText $text(fontName) $text(fontSize) {Cylinder $radius $zMin $zMax $thetaMax} left}
- endShape;
-
- startShape (Disk); EveCmd {Translate [expr { 1 * $text(tabLength)}] [expr {$text(spacingFactor) * 4 * $text(spacing) * $text(fontSize)}] 0 };
- EveCmd {WW3DText $text(fontName) $text(fontSize) {Disk $zMax $radius $thetaMax} left}
- endShape;
-
- startShape endShape; EveCmd {Translate [expr { 0 * $text(tabLength)}] [expr {$text(spacingFactor) * 5 * $text(spacing) * $text(fontSize)}] 0 };
- EveCmd {WW3DText $text(fontName) $text(fontSize) {endShape} left}
- endShape;
- endShape
- endShape
-